package com.cgy.utils.netx.config;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @author CHTK
 */
@Getter
@Setter
@Accessors(chain = true)
public class ClientConfig {

    private String ip;
    private int port;

    private String username = "admin";
    private String password = "admin";

    private int maxConnTotal = 100;
    private int maxConnPerRoute = 10;

    private int connectionTimeoutMs = 10000;
    private int connectionRequestTimeout = 10000;
    private int socketTimeout = 10000;
    private int sessionTimeoutMs = 10000;
}
